t / t4135 / diff-with quote.diffon commit use strbuf_complete_line() for adding a newline if needed (a0d4923)
   1--- "postimage".txt.orig        2010-08-18 20:13:31.744002255 -0500
   2+++ "postimage".txt     2010-08-18 20:13:31.744002255 -0500
   3@@ -1 +1 @@
   4-preimage
   5+postimage